/* --------------------------------------------------------
 * Copyright (c) aeky , Inc.  All rights reserved.
 * --------------------------------------------------------
 */
package com.aeky.client.view.welcome;

import com.aeky.client.common.DemoEvents;
import com.aeky.client.mvc.AppEvent;
import com.aeky.client.mvc.Controller;

/**
 * 
 * @author aeky
 */
public class CenterBodyPanelController extends Controller {

    private CenterBodyPanelView view;

    public CenterBodyPanelController() {
        view = new CenterBodyPanelView(this);
        registerEventTypes(DemoEvents.INIT, DemoEvents.IB2, DemoEvents.IB3, DemoEvents.IB5);
    }

    /*
     * 
     * @see
     * com.aeky.client.mvc.Controller#handleEvent(com.aeky.client.mvc.AppEvent)
     */
    @Override
    public void handleEvent(AppEvent event) {
        forwardToView(view, event);
    }

}
